package com.zbkj.crmeb.chant.service;

import com.zbkj.crmeb.chant.model.ChannelMerchantDistribution;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.chant.request.DistributionBaseRebateRequest;
import com.zbkj.crmeb.chant.request.DistributionRequest;
import com.zbkj.crmeb.chant.response.DistributionResponse;

/**
 * <p>
 * 商户分销模式表 服务类
 * </p>
 *
 * @author wuzp
 * @since 2022-04-01
 */
public interface ChannelMerchantDistributionService extends IService<ChannelMerchantDistribution> {

    Boolean installDistribution(Integer merId, DistributionRequest request);

    Boolean baseRebateRateUpdate(Integer merId, DistributionBaseRebateRequest request);

    DistributionResponse getDistribution(Integer merId);

}
